package com.sakura.mall.coupon.homeAdv.service;

import com.sakura.mall.common.response.Page;
import com.sakura.mall.coupon.homeAdv.domain.entity.HomeAdvEntity;
import com.sakura.mall.coupon.homeAdv.domain.request.AddHomeAdvRequest;
import com.sakura.mall.coupon.homeAdv.domain.request.UpdateHomeAdvRequest;
import com.sakura.mall.coupon.homeAdv.domain.request.HomeAdvPageRequest;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sakura.mall.coupon.homeAdv.domain.vo.HomeAdvVo;

/**
 * 首页轮播广告 service
 *
 * @author sakura
 */
public interface HomeAdvService extends IService<HomeAdvEntity> {
    

    /**
     * 分页查询
     *
     * @param request 请求
     * @return ret
     */
    Page<HomeAdvVo> queryPage(HomeAdvPageRequest request);

    /**
    * 注册用户
    *
    * @param request 请求
    */
    void add(AddHomeAdvRequest request);
    

    /**
     * 更新用户
     *
     * @param id      id
     * @param request 更新
     */
    void updateById(Long id, UpdateHomeAdvRequest request);
}
